home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 8 / QRZ Ham Radio Callsign Database - Volume 8.iso / pc / files / pbbs / io51.arc / BIOS.DOC next >
Text File  |  1987-04-06  |  3KB  |  93 lines

  1.  
  2. COMBIOS was originally furnished by AA4RE, and modified extensively
  3. by WA7MXZ, WA7MBL, and W0RLI.
  4.  
  5. These serial device drivers replace the standard Int 14 drivers
  6. included in the IBM ROM BIOS.
  7.  
  8. COMBIOS  supports the standard COM1 & COM2 ports.
  9. COM1BIOS supports only COM1.
  10. COM2BIOS supports only COM2.
  11. QUADBIOS supports COM3 - COM7 on a Quadram Quadport AT board.
  12. COMXBIOS supports COM25 and COM26 for "serial link" - W0RLI
  13.  
  14. GFIBIOS  supports COM1 - COM4 for the GFI 4 port board,
  15.      with aa4re hardware mod.
  16.      Configured for COM1 - COM4 = IRQ3
  17.  
  18. These drivers may be loaded in any order and combination for
  19. whatever serial port boards you have. Take care that only one
  20. board has each COM port - that is, no duplicate COM1 for example.
  21.  
  22. When using the Quadram board, you may only have one standard serial
  23. port in use, thus QUADBIOS may be loaded in conjunction with either
  24. COM1BIOS or COM2BIOS for a total of 6 ports.
  25.  
  26. Setup info: (example for W0RLI AT clone)
  27. Load the drivers and set port speed, etc. in your autoexec.bat file:
  28. COM1BIOS
  29. QUADBIOS
  30. MBMODE COM1:12,n,8,1
  31. MBMODE COM3:48,n,8,1
  32. MBMODE COM4:48,n,8,1
  33. MBMODE COM5:48,n,8,1
  34. MBMODE COM6:48,n,8,1
  35. MBMODE COM7:96,e,7,1
  36.  
  37. Programming information:
  38.  
  39.  
  40. The routines are called in the same manner as the standard Int 14 calls
  41. are made.  However, there are more possible calls as determined by the
  42. value passed in AH.
  43.  
  44.  
  45. The port number should be passed in DX.  (0-COM1 1-COM2, etc)
  46. Valid values for DX:
  47.   COMBIOS  (0,1)
  48.   COM1BIOS (0)
  49.   COM2BIOS (1)
  50.   QUADBIOS (2,3,4,5,6)
  51.   GFIBIOS  (0,1,2,3)
  52.   COMXBIOS (24,25)
  53.  
  54. AH = 0       Initialize
  55. ---------------------
  56. This initializes the communications port.  AL contains baud rate, parity,
  57. stop bit, and word length as in the standard BIOS call.  On return, AH
  58. contains the Line Status Register information (except bit 0 - Data ready
  59. tells whether there is information in the extended buffer rather than the
  60. SIO chip receive buffer).  AL contains the Modem Status Register.
  61.  
  62. AH = 1       Send Character
  63. -------------------------
  64. AL contains the character to send.  Return values are the same as above.
  65.  
  66. AH = 2       Receive Character
  67. ----------------------------
  68. On return, AL contains the character received.    AH contains the contents
  69. of the LSR at the time the last character was received from the TNC (not
  70. necessarily the character this routine returns).  Again, AH bit 0 indicates
  71. if there is additional characters in the buffer.  This routine does NOT
  72. timeout while waiting for a character.
  73.  
  74. AH = 3       Return Status
  75. ------------------------
  76. Return values are the same as returned by the Initialize routine.
  77.  
  78. AH = 4       Inquiry
  79. ------------------
  80. AH returns 0AAH.  AL returns 055H.  This call is used to see if the
  81. driver has been loaded for a particular port.
  82.  
  83.  
  84. Port setup for GFI 4 port board using GFIBIOS:
  85. (Add the diodes and resister per aa4re instructions)
  86.  
  87.          PORT      ADDRESS     INTERRUPT
  88.         -----      ----------     ---------
  89.         COM 1      3F8-3FF     IRQ3
  90.         COM 2      2F8-2FF     IRQ3
  91.         COM 3      3E8-3EF     IRQ3
  92.         COM 4      3E0-3E7     IRQ3
  93.